package DBO;
 
import java.io.Serializable;
import java.util.List;
 
import javax.persistence.Id;
 
public class Contact implements Serializable {
 
 private static final long serialVersionUID = 7390103290165670089L;
 @Id
 private long id;
	private String lastname;
	private String firstname;
	private String nickname;
	private String postalCode;
	private String note;
	private List<String> telList;
	private List<String> emailList;
 
 public Contact() {
 
 }
 

public Contact(String name, String firstname, String nickname, String postalCode, String note, List<String> telList, List<String> emailList)
{
	this.lastname = name;
	this.firstname = firstname;
	this.nickname = nickname;
	this.postalCode = postalCode;
	this.note = note;
	this.telList = telList;
	this.emailList = emailList;
}
	 
	 public Long getId() {
		 return id;
	 }
	 
	 public void setId(Long id) {
	 this.id = id;
	 }
	 
	 
	 public String getFirstname() {
	 return firstname;
	 }
	 
	 public void setFirstname(String firstname) {
	 this.firstname = firstname;
	 }
	 
	 public String getLastname() {
	 return lastname;
	 }
	 
	 public void setLastname(String lastname) {
	 this.lastname = lastname;
	 }
	 
	public String getNickname() {
		return nickname;
	}
	
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getPostalCode()
	{
		return postalCode;
	}
 
	public void setPostalCode(String postalCode)
	{
		this.postalCode = postalCode;
	}
	
	public String getNote()
	{
		return note;
	}
 
	public void setNote(String note)
	{
		this.note = note;
	}

	public List<String> getTelList()
	{
		return telList;
	}

	public void setTelList(List<String> telList)
	{
		this.telList = telList;
	}

	public List<String> getEmailList()
	{
		return emailList;
	}

	public void setEmailList(List<String> emailList)
	{
		this.emailList = emailList;
	}
}